package com.gzk.basic.constant;

public class BaseConstant {

    /**
     * 注册业务redis前缀
     */
    public static final String BUSINESS_REGISTER_PREFIX = "business_register_prefix:";

    /**
     * 授权业务前缀
     */
    public static final String BUSINESS_BINDER_PREFIX = "business_binder_prefix:";

    /**
     * 公司资质常量
     */
    public static final String APPID = "wxd853562a0548a7d0";
    public static final String SECRET = "4a5d5615f93f24bdba2ba8534642dbb6";

    /**
     * 使用code请求token的URL常量
     */
    public static final String GET_TOKEN_URL = "https://api.weixin.qq.com/sns/oauth2/access_token?appid=APPID&secret=SECRET&code=CODE&grant_type=authorization_code";

    /**
     * 使用token请求用户信息的常量
     */
    public static final String GET_WXUSER_URL = "https://api.weixin.qq.com/sns/userinfo?access_token=ACCESS_TOKEN&openid=OPENID";
}
